package com.heima.model.behavior.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.sf.jsqlparser.expression.DateTimeLiteralExpression;

import java.time.LocalDate;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ApArticleLike {
    private Long id;
    private Long userId;
    private String articleId; //文章id
    private Short operation; //0点赞 1取消点赞
    private Short type; //0文章 1动态 2评论
    private Integer authorId; //文章作者id
    private LocalDate likeTime;//点赞时间
}
